//
//  HttpServerResponse.hpp
//  myhttpserver
//
//  Created by tgy on 2018/3/21.
//  Copyright © 2018年 tgy. All rights reserved.
//

#ifndef HttpServerResponse_hpp
#define HttpServerResponse_hpp

#include <stdio.h>
#include "HttpMessage.hpp"

class HttpserverResponse:public HttpMessage {
    
private:
    std::string message;
    std::string httpVersion;
    std::string body;
    
public:
    HttpserverResponse(){
        
        httpVersion = "HTTP/1.1";
    }
    
    void setMessage(std::string message);
    void setHttpVersion(std::string httpVersion);
    void setBody(std::string body);
    std::string getSendMessage();
};

#endif /* HttpServerResponse_hpp */
